package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import javax.servlet.http.HttpServletRequest;
import java.util.List;


public interface ShoppingCarService {

    void insert(ShoppingCart shoppingCart );

    List<ShoppingCart> getShoppingCartList(ShoppingCartDTO shoppingCartDTO);

    void cleanShoppingCart(Long userId);

    void subShoppingCart(ShoppingCart shoppingCart);

    List<ShoppingCart> list(Long userId);

}
